//
//  InDetailsCell.swift
//  AirTravel
//
//  Created by apple on 2021/7/21.
//

import UIKit

class InDetailsCell: UITableViewCell {

    @IBOutlet weak var backView: UIView!
    @IBOutlet weak var collView: UICollectionView!
    @IBOutlet weak var promptLab: UILabel!
    @IBOutlet weak var betweenLab: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        ///延迟执行之前的代码
        DispatchQueue.main.asyncAfter(deadline: .now() + 0.3, execute:{
            self.backView.addCorner(conrners: [.topRight,.topLeft], radius: 6)
        })
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
